<template>
	<view class="buttonConfirm flex flex-jc-c" @click="click">
		<view class="text">
			{{myTxt}}
		</view>
	</view>
</template>

<script>
	export default {
		name: 'buttonConfirm',
		props: {
			myTxt: {
				type: [String,Number],
				default: '',
			}
		},
		methods: {
			click() {
				this.$emit('click')
			}
		}
	}
</script>

<style lang="scss" scoped>
	.buttonConfirm {
		width: 100%;
		.text {
			width: 616rpx;
			height: 80rpx;
			background: #FCB527;
			border-radius: 40rpx;
			text-align: center;
			font-size: 32rpx;
			font-family: PingFangSC-Medium, PingFang SC;
			color: #FFFFFF;
			line-height: 80rpx;
		}
	}
</style>